Package com.cisco.pt.ipc.ui.impl
Class GeoIconImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.ui.impl.GeoIconImpl
Information provided by the PKI file:
\class GeoIcon
\brief GeoIcon handles and manipulates component items, such as devices, on the workspace.
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionGeoIconImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptionInformation provided by the PKI file:voidmoveBy(double x, double y) Information provided by the PKI file:voidmoveTo(double x, double y) Information provided by the PKI file:voidsetVisible(boolean bVisible) Information provided by the PKI file:inttype()Information provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession
-
Constructor Details
-
GeoIconImpl
public GeoIconImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
setVisible
public void setVisible(boolean bVisible) Information provided by the PKI file:
\brief Shows or hides the component item. \param bVisible, true to show the component item, false to hide it.- Specified by:
setVisiblein interfaceGeoIcon- Parameters:
bVisible- Takes in a parameter of bVisible
-
type
public int type()Information provided by the PKI file:
\brief Returns the type of the component item. \return int, the type of component. Types: COMPONENT = 1100, CONNECTION = 1101, NOTE = 1102, PACKET = 1103, CLUSTER = 1104, RECTANGLE = 1105, LINE = 1106, ELLIPSE = 1107, MULTIUSERITEM = 1108, QOSPACKET = 1109, RESIZEINDICATOR = 1110, ACCESSORYITEM = 1111, POLYGON = 1112, TEXTPOPUP = 1113 -
moveBy
public void moveBy(double x, double y) Information provided by the PKI file:
\brief Moves the component item by the specified x and y values. \param x, the value to move the component item by on the x-axis. \param y, the value to move the component item by on the y-axis. -
moveTo
public void moveTo(double x, double y) Information provided by the PKI file:
\brief Moves the component item to the specified coordinates. \param x, the value to move the component item to on the x-axis. \param y, the value to move the component item to on the y-axis. -
getPhysicalObject
Information provided by the PKI file:
\brief Returns the device. \return Device, the device object.- Specified by:
getPhysicalObjectin interfaceGeoIcon- Returns:
- PhysicalObject Returns a PhysicalObject
-